package cn.itsource.pet.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_search_master_msg")
public class SearchMasterMsg extends BaseDomain {
    //昵称
    private String name;
    //价格
    private Double price;
    //年龄
    private String age;
    //性别
    private Integer gender;
    //毛色
    private String coatColor;
    //图片地址
    private String resources;
    //宠物类型
    private Long petType;
    //标题
    private String title;
    //状态 0:待审核 1:已审核 2.驳回
    private Integer state = 0;
    //地址
    private String address;
    //卖家id
    private Long userId;
    //店铺id
    private Long shopId;

    //摘要(描述)
    private String note;
    //宠物类型名称
    @Transient
    private String petTypeName;

}
